/*************************************************
filename	: vertex.h
author		: Stefan lulham
desc		: A vertex is made up of a position, color,
			  normal and texture coordinate.
*************************************************/
#ifndef D_VERTEX_H
#define D_VERTEX_H

#include "color.h"

namespace DelGE
{
	namespace Modules
	{
		namespace Graphics
		{
			struct Vertex
			{
				float position[3];
				float normal[3];
				float textureUV[2];
				Color color;

				Vertex();
				Vertex(float fX, float fY, float fU = 0, float fV = 0);
				Vertex(float fX, float fY, float fZ, float fU = 0, float fV = 0);
				~Vertex();
			};
		}
	}
}

#endif